package cn.net.yato.picture.util;

/**
 * @ClassName Random
 * @Description TODO
 * @Author yato
 * @Date 2020/2/20 14:21
 * @Version 1.0
 */
public class RandomUtil {

    private RandomUtil(){}

    public static double getRandomNum(int num){
        int i = 10;
        long max = (long)(Math.pow(10, num-1));
        return (Math.random()*9+1)*max;
    }

}
